package test;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import java.util.Date;

/**
 * @Author wuchao66
 * @Date 2023/5/22 11:02
 * @PackageName:test
 * @ClassName: T1
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class T1 {
    public static void main(String[] args) throws NamingException {
        System.out.println(new Date());

//        //上下文接口实例化
//        Context context = new InitialContext();
//        //调用他自己带的方法来实现namejndi提取
//        //String Object
//        String name= (String)context.lookup("java:comp/env/t163");
//        System.out.println(name);
    }
}
